#include<stdio.h>
#include<iostream>
using namespace std;
string f(int n);
string f1(int n);
int main(){
	int n;
	cin>>n;
	string s="";
	for(int i=0;i<n;++i)
		s=(i<n-1?"(":"")+s+f(i+1)+'+'+f1(n-i)+(i<n-1?")":"");
	cout<<s;
	return 0;
}
string f(int n){
	string s="";
	for(int i=1;i<=n;++i)
		s=s+"sin("+f1(i)+(i==n?"":"+");
	while(n--) s+=')';
	return s;
}
string f1(int n){
	char a[4];
	sprintf(a,"%d",n);
	return (string)a;
}